package com.xiaobai.excel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaobai.excel.entity.ExcelConfigPro;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExcelConfigProMapper extends BaseMapper<ExcelConfigPro> {
    /**
     * 执行动态SQL
     * @param sql
     * @return 列表
     */
    @Select("${sql}")
    List<Map<String, Object>> executeSQL(@Param("sql") String sql);
}
